package com.demomaster.quick_reader.presenter.contract;


import com.demomaster.quick_reader.base.BaseContract;
import com.demomaster.quick_reader.model.novel.BookChapterBean;

import java.util.List;

/**
 * Created by newbiechen on 17-5-16.
 */

public interface ReadContract extends BaseContract {
    interface View extends BaseView {
        void showCategory(List<BookChapterBean> bookChapterList);
        void finishChapter();
        void errorChapter();
    }

    interface Presenter extends BasePresenter<View>{
        void loadCategory(String bookId);
        void loadChapter(String bookId,List<BookChapterBean> bookChapterList);
    }
}
